﻿/*
----------------------------------------
    Rodeo Game Engine
	Rodeo Math Module
	Copyright(c) Marcin Goryca
----------------------------------------
*/
#include "math\mathsystem.h"

namespace rodeomath
{
void MathSystem::runGenerator()
{
    random_number_.randomize();
}

/**
 * @remarks USE init() method instead
 */

//void MathCore::init(float* sinus, float* cosinus)
//{
//    buildSinusTable(sinus);
//    buildCosinusTable(cosinus);
//}

/**
 *
 */

void MathSystem::init()
{
    buildSinusTable(sinus_table_);
    buildCosinusTable(cosinus_table_);

    runGenerator();
}
}